package com.etone.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.etone.common.annotation.Excel;
import com.etone.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_dibiao
 *
 * @author etone
 * @date 2025-05-27
 */
public class SysDibiao extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String huojia;

    /** 1 显影 2 入库周转 3 出库周转 4 出库位 */
    @Excel(name = "1 显影 2 入库周转 3 出库周转 4 出库位")
    private Long type;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    /** 0 删除 2 未删除 */
    @Excel(name = "0 删除 2 未删除")
    private Long deleted;

    private String isFree;//0-空闲；1-已被预占用

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setHuojia(String huojia)
    {
        this.huojia = huojia;
    }

    public String getHuojia()
    {
        return huojia;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setMark(String mark)
    {
        this.mark = mark;
    }

    public String getMark()
    {
        return mark;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }

    public String getIsFree() {
        return isFree;
    }

    public void setIsFree(String isFree) {
        this.isFree = isFree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("huojia", getHuojia())
            .append("type", getType())
            .append("mark", getMark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("deleted", getDeleted())
            .toString();
    }
}
